/**
 * @author: andy
 * @description: 页面进度条功能
 */
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
NProgress.configure({
  speed : 500,
  showSpinner : true
});
function startProgress () {
  NProgress.start();
}
function stopProgress () {
  NProgress.done();
}
export {
  startProgress,
  stopProgress
}